﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using NCMIS.AccessControl;
using NCMIS.CMISProperties;

namespace NCMIS.ObjectModel
{
    public enum ChangeType
    {
        Created,
        Updated,
        Deleted,
        Security
    }

    public class ChangeEvent
    {
        public ID ObjectId { get; set; }
        public ChangeType ChangeType { get; set; }
        public CMISPropertyBase Properties { get; set; } 
    }

    public class ChangeEventWithPolicyAndACL
    {
        public ChangeEvent ChangeEvent { get; set; }
        public ID[] PolicyIds { get; set; }
        public Acl[] ACLs { get; set; }
    }
}
